package com.lyf.boot.core.model;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Luyufan
 * @date 2023/7/12 11:22
 */
@Data
public class IdDto implements Serializable {

    @Serial
    private static final long serialVersionUID = -1207496110235905037L;

    /**
     * id
     */
    @NotNull(message = "id不能为空")
    private Long id;
}
